import request from "@/api/request.js";


export function submitUnstructured(params) {
    return request.post("knowledge/manage/submit", params)
}

export function searchUnStructuredDatas(params) {
    return request.post("knowledge/manage/datas", params)
}


export function updateEnable(params) {
    return request.post("knowledge/manage/enable", params)
}

export function deleteById(id) {
    return request.post("knowledge/manage/delete/" + id)
}

export function saveOrUpdateText(param) {
    return request.post("knowledge/manage/saveOrUpdateText", param)
}